package leetcode_1601_1700;

public class LeeCode_1641 {
    public static void main(String[] args) {
        System.out.println(countVowelStrings(33));
    }
    private static int countVowelStrings(int n) {
        int[] sum = new int[1];
        f(0, n, sum);
        return sum[0];
    }
    private static void f(int limited, int remain, int[] sum){
        if (remain == 0) {
            sum[0] += 1;
            return;
        }
        for (int i = limited; i < 5; i++) {
             f(i, remain - 1, sum);
        }
    }
}
